package edu.gxmzu.task.service;

import com.github.pagehelper.PageInfo;
import edu.gxmzu.task.entity.UserManageInfo;
import edu.gxmzu.task.models.UserInfoModel;
import edu.gxmzu.task.utils.Result;

public interface UserInfoService {

    Result getUserInfoById(String userId);

    /**
     * author: lrf
     * time: 2024-11-29
     * version : V1
     * content: 用户管理页面查询
     */
    PageInfo<UserManageInfo> getUserManageInfo(String name);

    /**
     * author: lrf
     * time: 2024-11-29
     * version : V1
     * content: 密码重置
     */
    int updatePassword(String userId, String password);

    /**
     * author: lrf
     * time: 2024-11-29
     * version : V1
     * content: 编辑用户信息
     */
    int editUserInfo(UserManageInfo userManageInfo);

    UserInfoModel UserInfo(String userId);


    int UpdateUserInfoById(UserInfoModel userInfoModel);

}
